home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
daymisckit_proj
/
daymisckit-1
/
Makefile.old
< prev
Wrap
Makefile
|
1995-06-12
|
5KB
|
131 lines
#
# NeXT Internal Library Makefile
# Copyright 1987, 1991, NeXT Computer, Inc.
#
# This Makefile is used for NeXT software libraries.
#
# Fill in values for the various variables at the places marked by
# **number**. Any rules or dependencies of your own can be added
# at the end of the file.
#
DSTROOT = /.
# directory where included Makefiles are located.
MAKE_DIR = /LocalDeveloper/Makefiles/lib
# **1** -LIBRARY NAME-
# The base name of the library goes here. This should be the same
# name as the SGS project the library is built under. For example, if
# you enter "appkit" as the name, then the name of the SGS project
# should be "appkit", and the library created will be "libappkit.a".
NAME = daymisckit
# **2** -SOURCE FILES-
# Here list the .m, .c, .psw, .pswm, .s, .l, .lm, .y, .ym, .ps and
# .spec files. You may delete any lines that you don't use.
# OTHER_SRCS is used for files with other suffixes that you wish
# to be treated like source (i.e., printed with the source, copied
# with the source, etc.). For files in OTHER_SRCS, you need to
# specify the corresponding .o file in OTHER_SRCS_OFILES.
MFILES = DAYString.m \
DAYTime.m \
ExtendedApp.m \
DAYStopwatch.m
CFILES =
PSWFILES =
PSWMFILES =
SFILES =
LFILES =
LMFILES =
YFILES =
YMFILES =
PSFILES =
OTHER_SRCS =
OTHER_SRCS_OFILES =
# **3** -COMMAND OPTIONS-
# These are passed as arguments to the Objective-C compiler, pswrap,
# as, lex, yacc and speculate. You may delete lines that you don't use.
# All CFLAGS also get passed to Objective-C.
# DEBUGCFLAGS is substituted for CFLAGS when "debug" is made.
# PROFCFLAGS is substituted for CFLAGS when "profile" is made.
# Under OBJCFLAGS, for each library that you use that supplies class
# and message group files, you must use a -I$(OBJDIR)/XXX, where
# XXX is the base name of the library.
COMMONCFLAGS = -I../Headers -I/LocalDeveloper/Headers
OBJCFLAGS =
CFLAGS = -Wall -O $(COMMONCFLAGS)
OPTCFLAGS = -O $(COMMONCFLAGS)
DEBUGCFLAGS = -g -DDEBUG -Wall $(COMMONCFLAGS)
PROFCFLAGS = -pg -g $(COMMONCFLAGS)
SHLIBCFLAGS = -O -DSHLIB $(COMMONCFLAGS)
PSWFLAGS =
ASFLAGS =
LFLAGS =
YFLAGS =
RANLIBFLAGS =
# IFLAGS = -q -c -m 444 -o root -g wheel
IFLAGS = -q -c -m 444
# MKDIRSFLAGS = -m 755 -o root -g wheel
MKDIRSFLAGS = -m 755
ARFLAGS = ruv
VERSFLAGS = -l
# **4** -INCLUDE FILES-
# Private include files are used by the library's code, but not needed
# by the library's users. Public include files are needed by others who
# will use the library, and must be installed along with the library.
# Compatibility include files are used to provide for compatibility with
# previous releases. Local include files are only used by other local projects.
PUBLIC_INCFILES = ../Headers/daymisckit
COMPAT_INCFILES =
LOCAL_INCFILES =
PRIVATE_INCFILES =
# **5** -BY_PRODUCTS GENERATED FROM BUILDS-
# If your build procedure creates any files other than .o files and the
# .c and .m files left over from pswrap, you should list them here so
# they are removed when a make clean is done.
BY_PRODUCTS =
# **6** -INSTALLATION LOCATIONS-
# The following directories determines where files get installed.
# places where libraries get installed
LIBDIR = $(DSTROOT)/usr/local/lib
SHLIBDIR = $(DSTROOT)/usr/local/shlib
# places where headers get installed
INCDIR = $(DSTROOT)/LocalDeveloper/Headers/$(NAME)
COMPATINC = $(DSTROOT)/LocalDeveloper/2.0CompatibleHeaders/$(NAME)
LCLINC = $(DSTROOT)/LocalDeveloper/Headers/$(NAME)
# place where PostScript package files get installed
# PSLIBDIR = $(DSTROOT)/usr/lib/NextStep
#this file included for standard functionality
include $(MAKE_DIR)/Makefile.lib
# **7** -ALL AND INSTALL TARGETS-
# You must define your own all and install targets here. "all" should
# build all products of your project. "install" should install these
# products in the filesystem whose root is $(DSTROOT). There are certain
# targets defined in Makefile.lib which you can use to fulfill the all
# and install targets. These are optimized, debug, profile, shlib,
# optimized_install, debug_install, profile_install, shlib_install,
# and common_install.
all:: $(PRODUCT)
install:: common_install profile_install
# You may comment in this line to get dependencies for the include files
# you use. To generate the dependencies, do a "make depend".
#include Makefile.depends
# any extra rules or dependencies can be added after this line
precomp:
echo $(CC) $(CFLAGS) -precomp $(NAME).h -o $(NAME).p
(cd ../Headers/$(NAME); $(CC) $(CFLAGS) -precomp $(NAME).h -o $(NAME).p)